package cn.tedu.course.employee.mapper;

import cn.tedu.course.employee.pojo.dto.EmployeeQuery;
import cn.tedu.course.employee.pojo.entity.Employee;
import cn.tedu.course.employee.pojo.vo.EmployeeVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface EmployeeMapper {
    List<EmployeeVO> select(EmployeeQuery employeeQuery);

    void updateStatus(@Param("id") Long id, @Param("status") String status);

    void insert(Employee employee);

    void update(Employee employee);
}
